<style>
    .div-line{
        display: inline-block;
        margin-right: 15px;
    }
</style>
<form id="edit-form" class="form-line" role="form" data-toggle="validator" method="POST" action="">
    <!--充值-->
    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title">注册赠送积分详情</h3>
        </div>

        {if condition="$row.type eq 1 "}
        <div class="panel-body">
            <div class="div-line">
                <span>积分获取项目:</span>
                <span>注册赠送</span>
            </div>
            <div class="div-line">
                <span>会员ID:</span>
                <span>{$row.user.account}</span>
            </div>
            <div class="div-line">
                <span>获取积分:</span>
                <span>{$row.integral}</span>
            </div>
            <div class="div-line">
                <span>注册时间:</span>
                <span>{$row.pid.register_time|date='Y-m-d H:i:s',###}</span>
            </div>
            <div class="div-line">
                <span>注册方式:</span>
                {if condition="$row.pid.userID < 1 "}
                <span>自行注册</span>
                {else /}
                <span>推荐注册</span>
                {/if}
            </div>
        </div>
        {elseif condition="$row.type eq 2"/}
        <div class="panel-body">
            <div class="div-line">
                <span>积分获取项目:</span>
                <span>推荐赠送</span>
            </div>
            <div class="div-line">
                <span>会员ID:</span>
                <span>{$row.user.account}</span>
            </div>
            <div class="div-line">
                <span>推荐一级会员ID:</span>
                <span>{$row.register_user}</span>
            </div>
            <div class="div-line">
                <span>获取积分:</span>
                <span>{$row.integral}</span>
            </div>
            <div class="div-line">
                <span>推荐时间:</span>
                <span>{$row.pid.register_time|date='Y-m-d H:i:s',###}</span>
            </div>
            <div class="div-line">
                <span>注册方式:</span>
                <span>推荐注册</span>
            </div>
        </div>
        {else /}
        <div class="panel-body">
            <div class="div-line">
                <span>积分获取项目:</span>
                <span>推荐赠送</span>
            </div>
            <div class="div-line">
                <span>会员ID:</span>
                <span>{$row.user.account}</span>
            </div>
            <div class="div-line">
                <span>推荐一级会员ID:</span>
                <span>{$row.referee}</span>
            </div>
            <div class="div-line">
                <span>推荐二级会员ID:</span>
                <span>{$row.register_user}</span>
            </div>
            <div class="div-line">
                <span>获取积分:</span>
                <span>{$row.integral}</span>
            </div>
            <div class="div-line">
                <span>推荐时间:</span>
                <span>{$row.pid.register_time|date='Y-m-d H:i:s',###}</span>
            </div>
            <div class="div-line">
                <span>注册方式:</span>
                <span>推荐注册</span>
            </div>
        </div>
        {/if}
    </div>
</form>


